<style>
    #reportBaseInfo-edit .layui-form-label {
        width:128px;
    }
    #reportBaseInfo-edit .layui-input-block {
        margin-left: 160px;
    }
</style>
<div class="layui-fluid" id="reportBaseInfo-edit">
    <form class="layui-form" action="" lay-filter="reportBaseInfo-edit-form">
        <div class="layui-form-item febs-hide">
            <label class="layui-form-label febs-form-item-require">：报告id</label>
            <div class="layui-input-block layui-input-block-html">
                <input type="text" name="reportId" th:value="${accidentReport.reportId}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label layui-form-label-detail ">事故标题：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.accidentTitle}">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">

                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail ">事故类型：</label>
                    <div class="layui-input-block layui-input-block-html" name="accidentType">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">事故等级：</label>
                    <div class="layui-input-block layui-input-block-html" name="accidentLevel">
                    </div>
                </div>

            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail ">发生时间：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.accidentDate}">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail ">发生地点：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.accidentPlace}">
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">船舶类型：</label>
                    <div class="layui-input-block layui-input-block-html" name="accidentShipType">
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">是否接受援助：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.acceptAssistFlg == '1'?'是':'否'}">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">报告主管部门：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.noticeDeptFlg == '1'?'是':'否'}">
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item" th:if="${accidentReport.noticeDeptFlg == '1'}" id="noticeDeptDiv">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">主管部门名称：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.noticeDeptName}">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label layui-form-label-detail">上报时间：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.noticeDeptDate}">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label layui-form-label-detail ">初步损失情况：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.preliminarilyDamage}">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label layui-form-label-detail ">初步描述：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${accidentReport.preliminarilyDescript}">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-xs12">
                <label class="layui-form-label layui-form-label-detail">上报附件：</label>
                <div class="layui-input-block layui-input-block-html" id="uploadReportBtn">
                </div>
            </div>
        </div>

    </form>
</div>
<script data-th-inline="javascript">
    var accidentReportData = [[${accidentReport}]];
</script>
<script th:src="@{/febs/js/accidentReport/accidentReportBaseInfo.js(v=1)}"></script>